﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" Async="true" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>

    <form id="form1" runat="server">
        <input runat="server" hidden="hidden" value="WinRAR.ZIP\shell\open\command" id="rar_reg_key" />
        <div>
            <asp:Label ID="MsgInfo" runat="server"></asp:Label>
            <label>选择文件：</label>
            <asp:FileUpload ID="FileUp" runat="server" />
            <asp:Button ID="UploadButton" runat="server" Text="上传" OnClick="UploadButton_Click" />
            <asp:Label ID="uploadState" runat="server" Text=""></asp:Label>
        </div>
        <div>
            <asp:ScriptManager ID="Ajax" runat="server">
            </asp:ScriptManager>
            <asp:UpdatePanel ID="AjaxPanel" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div>
                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="连接" />
                        <asp:Label ID="Wait" runat="server"></asp:Label>
                    </div>
                    <div>

                        <asp:Label ID="Label1" runat="server" Text="邮件正文："></asp:Label>
                        <asp:TextBox ID="EmailContent" runat="server" Width="454px"></asp:TextBox>
                        <asp:Button ID="MainSend" runat="server" OnClick="MainSend_Click" Text="SEND" />

                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <asp:UpdateProgress ID="AjaxPanelProgress" runat="server" AssociatedUpdatePanelID="AjaxPanel">
                <ProgressTemplate>
                    <div>
                        <asp:Label runat="server" Text="正在查询"></asp:Label>
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </div>
        <div>
            <asp:FileUpload ID="SQLUp" runat="server" />
            <asp:Button ID="EXECSQL" runat="server" OnClick="EXECSQL_Click" Text="EXECSQL" />
        </div>
        <div>
            <asp:Label runat="server" ID="_Files" />
        </div>
    </form>
</body>
</html>
